package cn.itcast.demo6.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;

/**
 * ClassName: OrderList
 * Package: cn.itcast.demo6.pojo
 * Description:
 *
 * @Author MLH
 * @Create 2023/5/6 15:02
 * @Version 1.0
 */
@Data
public class OrderList {
    private int id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp createdAt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp updatedAt;
    private String nickname;
    private String mobile;
    private String productName;
    private String totalPrice;
    private int count;
    private String unitPrice;
    private int status;
    private int payType;
}
